from pydantic import BaseModel
class ClasSchema(BaseModel):
    id: int
    name: str
    model_config = {'from_attributes': True}

class ClasCreate(BaseModel):
    name: str = ""
    model_config = {'from_attributes': True}